//
//  GWRightCenterRowView.m
//  网易新闻
//
//  Created by qianfeng on 16/2/29.
//  Copyright (c) 2016年 高炜. All rights reserved.
//

#import "GWRightCenterRowView.h"

@interface GWRightCenterRowView ()
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UIButton *titleView;

@end
@implementation GWRightCenterRowView

+(instancetype)rightCenterRowView
{
    return [[[NSBundle mainBundle]loadNibNamed:@"GWRightCenterRowView" owner:nil options:nil ]lastObject];
}
-(void)image:(NSString *)image
{
    self.imageView.image =[UIImage imageNamed:image];
}
-(void)title:(NSString *)title
{
    [self.titleView setTitle:title forState:UIControlStateNormal];
}
@end
